﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;
    import flash.utils.*;

    public class IMountPrxHelper extends RMIProxyObject implements IMountPrx
    {
        public static const NAME:String = "Message.Game.IMount";

        public function IMountPrxHelper()
        {
            name = "IMount";
            return;
        }// end function

        public function activeCard_async(param1:AMI_IMount_activeCard, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("activeCard");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function advance_async(param1:AMI_IMount_advance, param2:Boolean, param3:Dictionary) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("advance");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeBool(param2);
            DictStrIntHelper.write(_loc_6, param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function changeMountShape_async(param1:AMI_IMount_changeMountShape, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("changeMountShape");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function changeShapeCard_async(param1:AMI_IMount_changeShapeCard) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("changeShapeCard");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function dress_async(param1:AMI_IMount_dress, param2:String, param3:String) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("dress");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeString(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function getAdvanceReward_async(param1:AMI_IMount_getAdvanceReward, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getAdvanceReward");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getCards_async(param1:AMI_IMount_getCards, param2:EResetMode) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getCards");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getPlayerMountInfo_async(param1:AMI_IMount_getPlayerMountInfo) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getPlayerMountInfo");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function openCard_async(param1:AMI_IMount_openCard, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("openCard");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function setMountState_async(param1:AMI_IMount_setMountState, param2:EMountState) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("setMountState");
            var _loc_5:* = new SerializeStream();
            param2.__write(_loc_5);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function shuffleCard_async(param1:AMI_IMount_shuffleCard) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("shuffleCard");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

    }
}
